﻿@model List<HotDealD2.Models.ModelView.StatsView>
@{
    Layout = "../../Shared/AdminLayout.cshtml";
}
@{
    ViewBag.Title = "Index";
    ViewBag.Username = "Admin";
}
	<div class= "body-content" >

		<div class ="right-cont">
		
		
	@using (@Html.BeginForm())
 {
	   <div id="contented">
        <div class="bg_account_T">
        Thống Kê
    </div>

	   <div class="box-profile">
       <fieldset>
         <legend>Thông Tin Thống Kê</legend>
      
       <div class ="middle-box">
	   <table  >
           <tr>
             <td style="vertical-align: bottom;">
					<span class="style1"><b>Thống kê</b>
						<select name="thongke"><option value="thang">Tháng</option><option value="deal" selected="selected">Deal</option><option value="doanhnghiep">Doanh Nghiệp</option>
						</select>
                        

					</span>
					<span style="float: right;">
                    <div class="field">	  
                   
                     
						<input type="submit" id="submitFilterButton_customer" name="submitFilter" value="Xem thống kê"  />
                        
                        </div>
					</span>
					<span class="clear"></span>
				</td>
    
           </tr>
           <tr>
             <td height="74">
			 <table  class="table" cellpadding="0" cellspacing="0">
        
               <tr>
               
               		<th width="41" height="55">
                    <div class="center">
				        <input type="checkbox"/>
                        </div>				 
                    </th>
					<th width="77"><div class="center"><span class="style1">ID</span> <br />
						<a href=""><img border="0" src="../../Content/AdminSite/images/button/down.gif" /></a>
						<a href=""><img border="0" src="../../Content/AdminSite/images/button/up.gif" /></a>
                        </div>
                    </th>
					<th width="96"><div class="center"><span class="style1">
					Tên Deal				</span></div></th>
					<th width="96"><div class="center"><span class="style1">
					Doanh Nghiệp				</span></div></th>
					
                  
                    <th width="96"><div class="center"><span class="style1">
					Ngày Tháng					</span></div></th>
					<th width="96"><div class="center"><span class="style1">
					Doanh Thu				</span></div></th>
					
              
                @foreach (var item in Model)
                {
               <tr>
                 <td width="41" height="55"><div class="center">
				  <input type="checkbox"/>	</div>			  </td>
					<td width="77"><div class="center"><span class="style1">
					@Html.DisplayFor(m => item.Deal.MaDeal)				</span></div></td>
					<td width="79"><div class="center"><span class="style1">
					@Html.DisplayFor(m => item.Deal.TenDeal)					</span></div></td>
					<td width="96"><div class="center"><span class="style1">
					@Html.DisplayFor(m => item.ThanhVien.NguoiDung.HoTen)					</span></div></td>
                  
					
					
					
                    <td width="96"><div class="center"><span class="style1">
					@Html.DisplayFor(m => item.Thang)				</span></div></td>
                
		            <td width="96"><div class="center"><span class="style1">
					@Html.DisplayFor(m => item.Revenue)							</span></div></td>
                  
              
                </tr>
                }
             </table></td>
		   </tr>
		   </table>
          </div>
	   </fieldset>
		</div>
		</div>
 }
		</div>
	</div>